package io.github.talelin.latticy.dto.rule.ruleValue;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;

/**
 * @authoer:wulongbo
 * @createDate:2022/8/23
 * @description:
 */

@Data
public class RuleValueDTO {

    /**
     * 规则key id
     */
    @Positive(message = "{rule.ruleKeyId.positive}")
    private Integer ruleKeyId;

    /**
     * 下拉框值
     */
    @NotBlank(message = "{rule.value.not-blank}")
    private String value;

}
